package com.lin.missyou.dto;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.Valid;
import javax.validation.constraints.Min;

@Builder
public class personDTO {
    @Length(min=2)
    private String name;
    private Integer age;
    private String password1;
    private String password2;
}
